﻿<Window x:Class="ELearning.Wpf.UI.wndLogin"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        TextOptions.TextRenderingMode="ClearType"
        ResizeMode="NoResize"
        Title="{StaticResource windowLogin_Tittle}" WindowStartupLocation="CenterScreen" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="197" Width="259" Closing="Window_Closing" KeyUp="Window_KeyUp">
    <Grid
       TextOptions.TextFormattingMode="Display">
        <Grid.RowDefinitions>
            <RowDefinition Height="53*" />
            <RowDefinition Height="88*" />
        </Grid.RowDefinitions>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="39,32,0,0" Name="cb_Users" VerticalAlignment="Top" Width="165" IsEditable="True" Grid.RowSpan="2" TabIndex="0" IsTabStop="True" />
        <Button Height="23" Margin="86,71,82,0" Name="bt_Login" HorizontalAlignment="Center" VerticalAlignment="Top" Grid.Row="1" Click="bt_login_Click" Width="69" TabIndex="2">
            <!--<Image Source="Resources/Login.png"></Image>-->
            <!--<TextBlock VerticalAlignment="Center"><Image Margin="1,2,3,4" Width="16px" Height="16px" Source="Resources/Login.png"></Image>Abvsdasd</TextBlock>-->
            
                <TextBlock>
                <StackPanel Orientation="Horizontal">
                    <Image Source="Resources/Login.png" Width="16" Height="16"/>
                    <TextBlock Margin="5,0,0,1" Text="{StaticResource windowLogin_LoginButton}"/>
                </StackPanel>
            </TextBlock>
        </Button>
        <PasswordBox Height="23" HorizontalAlignment="Left" Margin="39,22,0,0" Name="tb_Password" VerticalAlignment="Top" Width="165" Grid.Row="1" TabIndex="1" />
        <Label Content="Користувач:" Height="28" HorizontalAlignment="Left" Margin="39,10,0,0" Name="label1" VerticalAlignment="Top" />
        <Label Content="Пароль:" Height="28" HorizontalAlignment="Left" Margin="39,0,0,0" Name="label2" VerticalAlignment="Top" Grid.Row="1" />
        <Label Content="[Error message]" Grid.Row="1" Height="27" HorizontalAlignment="Left" Margin="38,41,0,0" Name="lb_Error" VerticalAlignment="Top" ForceCursor="False" Foreground="Red" Visibility="Hidden" />
    </Grid>
</Window>
